{extend name="../../admin/view/public/admin"}

{block name='content'}

<div class="page-header">当前位置：<span class="text-primary">附件设置</span></div>

<style>

</style>

<div class="page-content">

    <form action="" method="post" class="form-validate form-horizontal">

        <input type="hidden" id="tab" name="tab" value="{if empty($_GET['tab'])}#tab_basic{else}#tab_{$_GET['tab']}{/if}"/>

        <ul class="nav nav-tabs" id="myTab">
            <li {if empty($_GET['tab']) || $_GET['tab']=='basic'}class="active"{/if}><a href="#tab_basic">全局设置</a></li>
            <li {if !empty($_GET['tab']) && $_GET['tab']=='remote'}class="active"{/if}><a href="#tab_remote">远程附件</a></li>
        </ul>

        <div class="tab-content">
            <div class="tab-pane {if empty($_GET['tab']) || $_GET['tab']=='basic'}active{/if}" id="tab_basic">
                <div class="panel-body">{include file='sysset/tab/basic'}</div>
            </div>

            <div class="tab-pane {if !empty($_GET['tab']) && $_GET['tab']=='remote'}active{/if}" id="tab_remote">
                {include file="../app/admin/view/public/sets/system/tabs/attachment.html" /}
            </div>
        </div>

        <div class="form-group">
            <label class="col-lg control-label"></label>
            <div class="col-sm-9 col-xs-12">
                <input type="submit" class="btn btn-primary" value="保存配置">
                <input type="hidden" name="token" value="{$_W['token']}"/>
            </div>
        </div>

        <div class="modal fade" id="name" tabindex="-1" role="dialog" aria-hidden="true">
            <div class="we7-modal-dialog modal-dialog we7-form">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                        <div class="modal-title">上传文件</div>
                    </div>
                    <div class="modal-body">
                        正在上传....
                    </div>
                </div>
            </div>
        </div>

    </form>

</div>

{/block}